﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
 CodeBehind="Premium.aspx.cs" Inherits="Nivdal.Premium" Theme="SkinFile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="basic_element">
    <div class="red_title">
        <asp:Label ID="PageTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_PremiumUser %>" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:FormView ID="CurrenrPremiumInfo" runat="server" DataSourceID="PremiumInfoDS">
            <ItemTemplate>
                <asp:Label ID="IsPremiumTitleLabel" runat="server" Visible='<%# Eval("IsPremium") %>' SkinID="GridLabel"
                    Text='<%# Resources.Resource.Shop_YouArePremium + " " + Eval("PremiumUntil") %>' ></asp:Label>
                <asp:Label ID="IsNotPremiumLabel" runat="server" SkinID="GridLabel" Visible='<%# !(bool)Eval("IsPremium") %>'
                    Text="<%$ Resources:Resource, Shop_YouAreNotPremium %>"></asp:Label>
                <br /><br />
                <asp:Hyperlink ID="RenewOptionsLink" runat="server" Text="<%$ Resources:Resource, Premium_RenewOptions %>"
                 SkinID="GreenTitleHyperLink" NavigateUrl="~/Shop.aspx" Target="_blank"></asp:Hyperlink>
            </ItemTemplate>
        </asp:FormView>
        <asp:SqlDataSource ID="PremiumInfoDS" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetUserPremiumInfo" SelectCommandType="StoredProcedure">
        </asp:SqlDataSource>
        <br />
        <br />
        <%--<div class="antifloater">
            <asp:Image ID="Hyppo" runat="server" ImageUrl="~/Images/Hypo/HypoEconomics.jpg" AlternateText="Niv" />
        </div>--%>
        <asp:Label ID="PremiumExplanationTitle" runat="server" SkinID="SubHeaderLabel"
         Text="<%$ Resources:Resource, Premium_ExplanationTitle %>"></asp:Label>
         <br />
         <asp:Label ID="PremiumExplanationPart1" runat="server" SkinID="GridLabel"></asp:Label>
          <br />
         <asp:Label ID="PremiumExplanationPart2" runat="server" SkinID="GridLabel"></asp:Label>
         <br /><br />
         <asp:Hyperlink ID="RenewOptionsLink2" runat="server" Text="<%$ Resources:Resource, Premium_RenewOptions %>"
                 SkinID="GreenTitleHyperLink" NavigateUrl="~/Shop.aspx" Target="_blank"></asp:Hyperlink>
    </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, Global_PremiumUser %>" CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>
